package cc.ding.entity;

import java.io.Serializable;
import java.util.Date;

public class Attendance implements Serializable {
    private static final long serialVersionUID = -2271010422719608576L;

    /**
     * 编号
     */
    private Integer id;

    /**
     * 员工Id
     */
    private Integer employeeId;

    /**
     * 日期
     */
    private Date date;

    /**
     * 上班时间
     */
    private Date startTime;

    /**
     * 下班时间
     */
    private Date endTime;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "Attendance{" +
                "id=" + id +
                ", employeeId=" + employeeId +
                ", date=" + date +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                '}';
    }
}
